#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_debian-patch.dpatch by LI Daobing <lidaobing@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: New patch generated from lumaqq2005 2006.2.2final-2 diff.gz

@DPATCH@
diff -urNad lumaqq-2006M2~/Makefile lumaqq-2006M2/Makefile
--- lumaqq-2006M2~/Makefile	1970-01-01 08:00:00.000000000 +0800
+++ lumaqq-2006M2/Makefile	2007-03-28 15:37:37.000000000 +0800
@@ -0,0 +1,25 @@
+BIN	= $(DESTDIR)/usr/bin
+LUMAQQMAIN = $(DESTDIR)/usr/share/lumaqq
+LUMAQQLIB = $(DESTDIR)/usr/lib/lumaqq
+
+all:	
+
+install: directory files
+
+directory:
+	install -d $(BIN) $(LUMAQQMAIN) $(LUMAQQLIB)
+	install -d $(LUMAQQMAIN)/xml	
+	install -d $(LUMAQQMAIN)/sound	
+	install -d $(LUMAQQMAIN)/lib
+	install -d $(LUMAQQLIB)/swt	
+	
+files:
+	install ./lumaqq $(BIN)
+	install -m644 ./QQ.png $(LUMAQQMAIN)
+	install -m644 ./log4j.properties $(LUMAQQMAIN)
+	install -m644 ./cluster_category.db $(LUMAQQMAIN)
+	install -m644 ./QQWry.dat $(LUMAQQMAIN)
+	install -m644 ./xml/*.xml  $(LUMAQQMAIN)/xml
+	install -m644 ./sound/* $(LUMAQQMAIN)/sound
+	install -m644 ./lib/*.jar $(LUMAQQMAIN)/lib
+	install ./swt/* $(LUMAQQLIB)/swt
